package cn.analysis.project.controller;

import cn.analysis.common.ResultVO;
import cn.analysis.project.service.IHistoryVideoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class HistoryVideoController {

    @Autowired
    private IHistoryVideoService historyVideoService;

    @RequestMapping(value = "/get", method = RequestMethod.GET)
    public ResultVO get(){
        return ResultVO.success(historyVideoService.getAllHVs());
    }
}
